-
Home
-
TaxJar – Sales Tax Automation for WooCommerce
-
3.2.11
-
Code
-
Classes
- Tax_Request_Body
Total Complexity |
44 |
Dependencies |
2 |
Dependents |
3 |
Total lines |
467 |
Lines of code |
153 |
Logical lines of code |
50 |
Comment lines |
245 |
Methods |
35 |
Properties |
14 |
Methods 35
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
to_array() |
S |
50 |
5 |
28 |
validate_line_items_or_shipping_amount_are_present() |
S |
66 |
3 |
8 |
validate_zip_code_is_present() |
S |
68 |
2 |
8 |
validate_zip_code_format() |
S |
67 |
2 |
8 |
validate_country_is_present() |
S |
68 |
2 |
8 |
validate() |
S |
73 |
1 |
6 |
set_shipping_amount() |
S |
81 |
1 |
3 |
set_from_city() |
S |
81 |
1 |
3 |
get_from_city() |
S |
82 |
1 |
3 |
set_from_street() |
S |
81 |
1 |
3 |
get_from_street() |
S |
82 |
1 |
3 |
get_customer_id() |
S |
82 |
1 |
3 |
get_shipping_amount() |
S |
82 |
1 |
3 |
set_customer_id() |
S |
81 |
1 |
3 |
set_from_zip() |
S |
81 |
1 |
3 |
set_exemption_type() |
S |
81 |
1 |
3 |
get_exemption_type() |
S |
82 |
1 |
3 |
add_line_item() |
S |
80 |
1 |
3 |
get_from_zip() |
S |
82 |
1 |
3 |
set_from_country() |
S |
81 |
1 |
3 |
get_from_state() |
S |
82 |
1 |
3 |
set_from_state() |
S |
81 |
1 |
3 |
get_from_country() |
S |
82 |
1 |
3 |
get_to_street() |
S |
82 |
1 |
3 |
set_to_street() |
S |
81 |
1 |
3 |
get_to_city() |
S |
82 |
1 |
3 |
set_to_city() |
S |
81 |
1 |
3 |
get_to_zip() |
S |
82 |
1 |
3 |
set_to_zip() |
S |
81 |
1 |
3 |
get_to_state() |
S |
82 |
1 |
3 |
set_to_state() |
S |
81 |
1 |
3 |
get_to_country() |
S |
82 |
1 |
3 |
set_to_country() |
S |
81 |
1 |
3 |
to_json() |
S |
80 |
1 |
3 |
get_line_items() |
S |
82 |
1 |
3 |